package cn.sirun.com.fca.account.view;

import com.tencent.cloud.iov.action.Action;
import com.tencent.cloud.iov.kernel.model.BaseResponse;

import cn.sirun.com.fca.account.constant.AccountActionConst;
import cn.sirun.com.fca.account.model.login.ChallengeResponse;

import static cn.sirun.com.fca.account.constant.AccountActionConst.Normal.ACTION_MODIFY_LOGIN_PASS_RESPONSE;
import static cn.sirun.com.fca.account.constant.AccountActionConst.Normal.ACTION_MODIFY_PASS_CHALLENGE_RESPONSE;

public interface IModifyPassView extends AccountActionConst {
    @Action(ACTION_MODIFY_PASS_CHALLENGE_RESPONSE)
    void onChallengeResult(BaseResponse<ChallengeResponse> response);

    @Action(ACTION_MODIFY_LOGIN_PASS_RESPONSE)
    void onloginePasswordResult(BaseResponse<Void> result);
}
